import sqlite3
conn=sqlite3.connect("test2.db")
cur=conn.cursor()
cur.execute('''select * FROM student''')
result = cur.fetchall()
for i in result:
    print(i,end='\n')
print()
cur.execute('''update student set name="赵琉" where name="赵柳"''')
cur.execute('''update student set name="李思" where name="李斯"''')
cur.execute('''update student set age="32" where name="张珊"''')
cur.execute('''update student set age="33" where name="李思"''')
cur.execute('''delete from student where name="李思"''')
cur.execute('''select * FROM student''')
result = cur.fetchall()
for i in result:
    print(i,end='\n')
conn.close()